package cn.com.lsy.product.lepao.model.entities;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class LpTrainVideoChildTblExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LpTrainVideoChildTblExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andVideoTypeIsNull() {
            addCriterion("video_type is null");
            return (Criteria) this;
        }

        public Criteria andVideoTypeIsNotNull() {
            addCriterion("video_type is not null");
            return (Criteria) this;
        }

        public Criteria andVideoTypeEqualTo(Integer value) {
            addCriterion("video_type =", value, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeNotEqualTo(Integer value) {
            addCriterion("video_type <>", value, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeGreaterThan(Integer value) {
            addCriterion("video_type >", value, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("video_type >=", value, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeLessThan(Integer value) {
            addCriterion("video_type <", value, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeLessThanOrEqualTo(Integer value) {
            addCriterion("video_type <=", value, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeIn(List<Integer> values) {
            addCriterion("video_type in", values, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeNotIn(List<Integer> values) {
            addCriterion("video_type not in", values, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeBetween(Integer value1, Integer value2) {
            addCriterion("video_type between", value1, value2, "videoType");
            return (Criteria) this;
        }

        public Criteria andVideoTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("video_type not between", value1, value2, "videoType");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andCoverimgIsNull() {
            addCriterion("coverImg is null");
            return (Criteria) this;
        }

        public Criteria andCoverimgIsNotNull() {
            addCriterion("coverImg is not null");
            return (Criteria) this;
        }

        public Criteria andCoverimgEqualTo(String value) {
            addCriterion("coverImg =", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotEqualTo(String value) {
            addCriterion("coverImg <>", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgGreaterThan(String value) {
            addCriterion("coverImg >", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgGreaterThanOrEqualTo(String value) {
            addCriterion("coverImg >=", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgLessThan(String value) {
            addCriterion("coverImg <", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgLessThanOrEqualTo(String value) {
            addCriterion("coverImg <=", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgLike(String value) {
            addCriterion("coverImg like", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotLike(String value) {
            addCriterion("coverImg not like", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgIn(List<String> values) {
            addCriterion("coverImg in", values, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotIn(List<String> values) {
            addCriterion("coverImg not in", values, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgBetween(String value1, String value2) {
            addCriterion("coverImg between", value1, value2, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotBetween(String value1, String value2) {
            addCriterion("coverImg not between", value1, value2, "coverimg");
            return (Criteria) this;
        }

        public Criteria andShowImgIsNull() {
            addCriterion("show_img is null");
            return (Criteria) this;
        }

        public Criteria andShowImgIsNotNull() {
            addCriterion("show_img is not null");
            return (Criteria) this;
        }

        public Criteria andShowImgEqualTo(String value) {
            addCriterion("show_img =", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgNotEqualTo(String value) {
            addCriterion("show_img <>", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgGreaterThan(String value) {
            addCriterion("show_img >", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgGreaterThanOrEqualTo(String value) {
            addCriterion("show_img >=", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgLessThan(String value) {
            addCriterion("show_img <", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgLessThanOrEqualTo(String value) {
            addCriterion("show_img <=", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgLike(String value) {
            addCriterion("show_img like", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgNotLike(String value) {
            addCriterion("show_img not like", value, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgIn(List<String> values) {
            addCriterion("show_img in", values, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgNotIn(List<String> values) {
            addCriterion("show_img not in", values, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgBetween(String value1, String value2) {
            addCriterion("show_img between", value1, value2, "showImg");
            return (Criteria) this;
        }

        public Criteria andShowImgNotBetween(String value1, String value2) {
            addCriterion("show_img not between", value1, value2, "showImg");
            return (Criteria) this;
        }

        public Criteria andHeadUrlIsNull() {
            addCriterion("head_url is null");
            return (Criteria) this;
        }

        public Criteria andHeadUrlIsNotNull() {
            addCriterion("head_url is not null");
            return (Criteria) this;
        }

        public Criteria andHeadUrlEqualTo(String value) {
            addCriterion("head_url =", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlNotEqualTo(String value) {
            addCriterion("head_url <>", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlGreaterThan(String value) {
            addCriterion("head_url >", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlGreaterThanOrEqualTo(String value) {
            addCriterion("head_url >=", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlLessThan(String value) {
            addCriterion("head_url <", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlLessThanOrEqualTo(String value) {
            addCriterion("head_url <=", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlLike(String value) {
            addCriterion("head_url like", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlNotLike(String value) {
            addCriterion("head_url not like", value, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlIn(List<String> values) {
            addCriterion("head_url in", values, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlNotIn(List<String> values) {
            addCriterion("head_url not in", values, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlBetween(String value1, String value2) {
            addCriterion("head_url between", value1, value2, "headUrl");
            return (Criteria) this;
        }

        public Criteria andHeadUrlNotBetween(String value1, String value2) {
            addCriterion("head_url not between", value1, value2, "headUrl");
            return (Criteria) this;
        }

        public Criteria andRestTimeIsNull() {
            addCriterion("rest_time is null");
            return (Criteria) this;
        }

        public Criteria andRestTimeIsNotNull() {
            addCriterion("rest_time is not null");
            return (Criteria) this;
        }

        public Criteria andRestTimeEqualTo(Integer value) {
            addCriterion("rest_time =", value, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeNotEqualTo(Integer value) {
            addCriterion("rest_time <>", value, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeGreaterThan(Integer value) {
            addCriterion("rest_time >", value, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("rest_time >=", value, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeLessThan(Integer value) {
            addCriterion("rest_time <", value, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeLessThanOrEqualTo(Integer value) {
            addCriterion("rest_time <=", value, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeIn(List<Integer> values) {
            addCriterion("rest_time in", values, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeNotIn(List<Integer> values) {
            addCriterion("rest_time not in", values, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeBetween(Integer value1, Integer value2) {
            addCriterion("rest_time between", value1, value2, "restTime");
            return (Criteria) this;
        }

        public Criteria andRestTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("rest_time not between", value1, value2, "restTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeIsNull() {
            addCriterion("play_time is null");
            return (Criteria) this;
        }

        public Criteria andPlayTimeIsNotNull() {
            addCriterion("play_time is not null");
            return (Criteria) this;
        }

        public Criteria andPlayTimeEqualTo(Integer value) {
            addCriterion("play_time =", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeNotEqualTo(Integer value) {
            addCriterion("play_time <>", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeGreaterThan(Integer value) {
            addCriterion("play_time >", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("play_time >=", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeLessThan(Integer value) {
            addCriterion("play_time <", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeLessThanOrEqualTo(Integer value) {
            addCriterion("play_time <=", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeIn(List<Integer> values) {
            addCriterion("play_time in", values, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeNotIn(List<Integer> values) {
            addCriterion("play_time not in", values, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeBetween(Integer value1, Integer value2) {
            addCriterion("play_time between", value1, value2, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("play_time not between", value1, value2, "playTime");
            return (Criteria) this;
        }

        public Criteria andFatIsNull() {
            addCriterion("fat is null");
            return (Criteria) this;
        }

        public Criteria andFatIsNotNull() {
            addCriterion("fat is not null");
            return (Criteria) this;
        }

        public Criteria andFatEqualTo(Integer value) {
            addCriterion("fat =", value, "fat");
            return (Criteria) this;
        }

        public Criteria andFatNotEqualTo(Integer value) {
            addCriterion("fat <>", value, "fat");
            return (Criteria) this;
        }

        public Criteria andFatGreaterThan(Integer value) {
            addCriterion("fat >", value, "fat");
            return (Criteria) this;
        }

        public Criteria andFatGreaterThanOrEqualTo(Integer value) {
            addCriterion("fat >=", value, "fat");
            return (Criteria) this;
        }

        public Criteria andFatLessThan(Integer value) {
            addCriterion("fat <", value, "fat");
            return (Criteria) this;
        }

        public Criteria andFatLessThanOrEqualTo(Integer value) {
            addCriterion("fat <=", value, "fat");
            return (Criteria) this;
        }

        public Criteria andFatIn(List<Integer> values) {
            addCriterion("fat in", values, "fat");
            return (Criteria) this;
        }

        public Criteria andFatNotIn(List<Integer> values) {
            addCriterion("fat not in", values, "fat");
            return (Criteria) this;
        }

        public Criteria andFatBetween(Integer value1, Integer value2) {
            addCriterion("fat between", value1, value2, "fat");
            return (Criteria) this;
        }

        public Criteria andFatNotBetween(Integer value1, Integer value2) {
            addCriterion("fat not between", value1, value2, "fat");
            return (Criteria) this;
        }

        public Criteria andIsScanIsNull() {
            addCriterion("is_scan is null");
            return (Criteria) this;
        }

        public Criteria andIsScanIsNotNull() {
            addCriterion("is_scan is not null");
            return (Criteria) this;
        }

        public Criteria andIsScanEqualTo(String value) {
            addCriterion("is_scan =", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanNotEqualTo(String value) {
            addCriterion("is_scan <>", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanGreaterThan(String value) {
            addCriterion("is_scan >", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanGreaterThanOrEqualTo(String value) {
            addCriterion("is_scan >=", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanLessThan(String value) {
            addCriterion("is_scan <", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanLessThanOrEqualTo(String value) {
            addCriterion("is_scan <=", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanLike(String value) {
            addCriterion("is_scan like", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanNotLike(String value) {
            addCriterion("is_scan not like", value, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanIn(List<String> values) {
            addCriterion("is_scan in", values, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanNotIn(List<String> values) {
            addCriterion("is_scan not in", values, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanBetween(String value1, String value2) {
            addCriterion("is_scan between", value1, value2, "isScan");
            return (Criteria) this;
        }

        public Criteria andIsScanNotBetween(String value1, String value2) {
            addCriterion("is_scan not between", value1, value2, "isScan");
            return (Criteria) this;
        }

        public Criteria andLoopNumIsNull() {
            addCriterion("loop_num is null");
            return (Criteria) this;
        }

        public Criteria andLoopNumIsNotNull() {
            addCriterion("loop_num is not null");
            return (Criteria) this;
        }

        public Criteria andLoopNumEqualTo(Integer value) {
            addCriterion("loop_num =", value, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumNotEqualTo(Integer value) {
            addCriterion("loop_num <>", value, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumGreaterThan(Integer value) {
            addCriterion("loop_num >", value, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("loop_num >=", value, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumLessThan(Integer value) {
            addCriterion("loop_num <", value, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumLessThanOrEqualTo(Integer value) {
            addCriterion("loop_num <=", value, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumIn(List<Integer> values) {
            addCriterion("loop_num in", values, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumNotIn(List<Integer> values) {
            addCriterion("loop_num not in", values, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumBetween(Integer value1, Integer value2) {
            addCriterion("loop_num between", value1, value2, "loopNum");
            return (Criteria) this;
        }

        public Criteria andLoopNumNotBetween(Integer value1, Integer value2) {
            addCriterion("loop_num not between", value1, value2, "loopNum");
            return (Criteria) this;
        }

        public Criteria andHeadSoundIsNull() {
            addCriterion("head_sound is null");
            return (Criteria) this;
        }

        public Criteria andHeadSoundIsNotNull() {
            addCriterion("head_sound is not null");
            return (Criteria) this;
        }

        public Criteria andHeadSoundEqualTo(String value) {
            addCriterion("head_sound =", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundNotEqualTo(String value) {
            addCriterion("head_sound <>", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundGreaterThan(String value) {
            addCriterion("head_sound >", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundGreaterThanOrEqualTo(String value) {
            addCriterion("head_sound >=", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundLessThan(String value) {
            addCriterion("head_sound <", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundLessThanOrEqualTo(String value) {
            addCriterion("head_sound <=", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundLike(String value) {
            addCriterion("head_sound like", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundNotLike(String value) {
            addCriterion("head_sound not like", value, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundIn(List<String> values) {
            addCriterion("head_sound in", values, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundNotIn(List<String> values) {
            addCriterion("head_sound not in", values, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundBetween(String value1, String value2) {
            addCriterion("head_sound between", value1, value2, "headSound");
            return (Criteria) this;
        }

        public Criteria andHeadSoundNotBetween(String value1, String value2) {
            addCriterion("head_sound not between", value1, value2, "headSound");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(Integer value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(Integer value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(Integer value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(Integer value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(Integer value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<Integer> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<Integer> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(Integer value1, Integer value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondIsNull() {
            addCriterion("interval_second is null");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondIsNotNull() {
            addCriterion("interval_second is not null");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondEqualTo(BigDecimal value) {
            addCriterion("interval_second =", value, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondNotEqualTo(BigDecimal value) {
            addCriterion("interval_second <>", value, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondGreaterThan(BigDecimal value) {
            addCriterion("interval_second >", value, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("interval_second >=", value, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondLessThan(BigDecimal value) {
            addCriterion("interval_second <", value, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondLessThanOrEqualTo(BigDecimal value) {
            addCriterion("interval_second <=", value, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondIn(List<BigDecimal> values) {
            addCriterion("interval_second in", values, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondNotIn(List<BigDecimal> values) {
            addCriterion("interval_second not in", values, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("interval_second between", value1, value2, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andIntervalSecondNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("interval_second not between", value1, value2, "intervalSecond");
            return (Criteria) this;
        }

        public Criteria andLabelTypeIsNull() {
            addCriterion("label_type is null");
            return (Criteria) this;
        }

        public Criteria andLabelTypeIsNotNull() {
            addCriterion("label_type is not null");
            return (Criteria) this;
        }

        public Criteria andLabelTypeEqualTo(Integer value) {
            addCriterion("label_type =", value, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeNotEqualTo(Integer value) {
            addCriterion("label_type <>", value, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeGreaterThan(Integer value) {
            addCriterion("label_type >", value, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("label_type >=", value, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeLessThan(Integer value) {
            addCriterion("label_type <", value, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeLessThanOrEqualTo(Integer value) {
            addCriterion("label_type <=", value, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeIn(List<Integer> values) {
            addCriterion("label_type in", values, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeNotIn(List<Integer> values) {
            addCriterion("label_type not in", values, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeBetween(Integer value1, Integer value2) {
            addCriterion("label_type between", value1, value2, "labelType");
            return (Criteria) this;
        }

        public Criteria andLabelTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("label_type not between", value1, value2, "labelType");
            return (Criteria) this;
        }

        public Criteria andFormalUrlIsNull() {
            addCriterion("formal_url is null");
            return (Criteria) this;
        }

        public Criteria andFormalUrlIsNotNull() {
            addCriterion("formal_url is not null");
            return (Criteria) this;
        }

        public Criteria andFormalUrlEqualTo(String value) {
            addCriterion("formal_url =", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlNotEqualTo(String value) {
            addCriterion("formal_url <>", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlGreaterThan(String value) {
            addCriterion("formal_url >", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlGreaterThanOrEqualTo(String value) {
            addCriterion("formal_url >=", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlLessThan(String value) {
            addCriterion("formal_url <", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlLessThanOrEqualTo(String value) {
            addCriterion("formal_url <=", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlLike(String value) {
            addCriterion("formal_url like", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlNotLike(String value) {
            addCriterion("formal_url not like", value, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlIn(List<String> values) {
            addCriterion("formal_url in", values, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlNotIn(List<String> values) {
            addCriterion("formal_url not in", values, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlBetween(String value1, String value2) {
            addCriterion("formal_url between", value1, value2, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalUrlNotBetween(String value1, String value2) {
            addCriterion("formal_url not between", value1, value2, "formalUrl");
            return (Criteria) this;
        }

        public Criteria andFormalSoundIsNull() {
            addCriterion("formal_sound is null");
            return (Criteria) this;
        }

        public Criteria andFormalSoundIsNotNull() {
            addCriterion("formal_sound is not null");
            return (Criteria) this;
        }

        public Criteria andFormalSoundEqualTo(String value) {
            addCriterion("formal_sound =", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundNotEqualTo(String value) {
            addCriterion("formal_sound <>", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundGreaterThan(String value) {
            addCriterion("formal_sound >", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundGreaterThanOrEqualTo(String value) {
            addCriterion("formal_sound >=", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundLessThan(String value) {
            addCriterion("formal_sound <", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundLessThanOrEqualTo(String value) {
            addCriterion("formal_sound <=", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundLike(String value) {
            addCriterion("formal_sound like", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundNotLike(String value) {
            addCriterion("formal_sound not like", value, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundIn(List<String> values) {
            addCriterion("formal_sound in", values, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundNotIn(List<String> values) {
            addCriterion("formal_sound not in", values, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundBetween(String value1, String value2) {
            addCriterion("formal_sound between", value1, value2, "formalSound");
            return (Criteria) this;
        }

        public Criteria andFormalSoundNotBetween(String value1, String value2) {
            addCriterion("formal_sound not between", value1, value2, "formalSound");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Integer value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Integer value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Integer value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Integer value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Integer value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Integer> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Integer> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Integer value1, Integer value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}